import React, { Component,Fragment } from 'react'

export default class Demo4 extends Component {
  render() {
    return (
      /* Fragment 想当于<></> ,区别在于Fragment能设置属性，空标签不能*/
      <Fragment>
        <div>div1</div>
        <div>div2</div>
        <div>div3</div>
      </Fragment>
    )
  }
}
